import ExpansionCol from './ExpansionCol.vue';
import SelectionCol from './SelectionCol.vue';

export interface TColumn {
  key: PropertyKey;
  name: string;
  show?: boolean;
  class?: string;
  thClass?: string;
  tdClass?: string;
}

export const presetCols = {
  selection: {
    config: { key: 'selection', name: '', class: 'relative w-10' },
    Component: SelectionCol,
  },
  expansion: {
    config: { key: 'expansion', name: '', class: 'relative w-10' },
    Component: ExpansionCol,
  },
};
